package com.guli.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/*
 * @Author 罗俊
 * @date 2020/11/17 - 11:11 上午
 *
 */
@EnableRedisHttpSession
@EnableRabbit
@EnableFeignClients
@SpringBootApplication
@MapperScan(basePackages = "com.guli.order.mapper")
@EnableAspectJAutoProxy(exposeProxy = true)
public class OrderApp {

    public static void main(String[] args) {

        SpringApplication.run(OrderApp.class, args);
    }
}
